package com.cssnj.portal.domain.common;

import io.predictech.framework.domain.auth.Auth;

import java.util.HashSet;
import java.util.List;
import java.util.Set;


public class UserInfo implements Auth {

    private String dlzhDm;//登录账号代码,
    private String swryDm;//税务人员代码,
    private String swryDmDz;//税务人员代码国地税对照代码
    private String swryXm; //税务人员姓名,
    private String swrySfDm;//税务人员身份代码,
    private String swrySfMc;//税务人员身份名称,
    private String sfswJgDm;//身份税务机关代码,
    private String sfJgjcDm;//身份税务机关级次,
    private String sfswJgMc;//身份税务机关名称
    private String sfswJgDmDz;//身份税务机关代码对照
    private List gwlist;//岗位

    private String jgfwdm; //机关范围
    private String cxjgDm;//查询机关

    private Set<String> role = new HashSet<>();
    private Set<String> permissions = new HashSet<>();
    private List loginOutList;//登出地址

    public String getCxjgDm() {
        return cxjgDm;
    }

    public void setCxjgDm(String cxjgDm) {
        this.cxjgDm = cxjgDm;
    }

    public List getLoginOutList() {
        return loginOutList;
    }
    public void setLoginOutList(List loginOutList) {
        this.loginOutList = loginOutList;
    }

    public Set<String> getRole() {
        return role;
    }

    public void setRole(Set<String> role) {
        this.role = role;
    }

    public Set<String> getPermissions() {
        return permissions;
    }

    public void setPermissions(Set<String> permissions) {
        this.permissions = permissions;
    }

    @Override
    public String getAuthId() {
        return "用户账号:" + this.getDlzhDm() + ";" + "姓名:" + this.getSwryXm();
    }

    public String getDlzhDm() {
        return dlzhDm;
    }

    public void setDlzhDm(String dlzhDm) {
        this.dlzhDm = dlzhDm;
    }

    public String getSwryDm() {
        return swryDm;
    }

    public void setSwryDm(String swryDm) {
        this.swryDm = swryDm;
    }

    public String getSwryXm() {
        return swryXm;
    }

    public void setSwryXm(String swryXm) {
        this.swryXm = swryXm;
    }

    public String getSwrySfDm() {
        return swrySfDm;
    }

    public void setSwrySfDm(String swrySfDm) {
        this.swrySfDm = swrySfDm;
    }

    public String getSwrySfMc() {
        return swrySfMc;
    }

    public void setSwrySfMc(String swrySfMc) {
        this.swrySfMc = swrySfMc;
    }

    public String getSfswJgDm() {
        return sfswJgDm;
    }

    public void setSfswJgDm(String sfswJgDm) {
        this.sfswJgDm = sfswJgDm;
    }

    public String getSfswJgMc() {
        return sfswJgMc;
    }

    public void setSfswJgMc(String sfswJgMc) {
        this.sfswJgMc = sfswJgMc;
    }

    public List getGwlist() {
        return gwlist;
    }

    public void setGwlist(List gwlist) {
        this.gwlist = gwlist;
    }

    public String getSwryDmDz() {
        return swryDmDz;
    }

    public String getSfswJgDmDz() {
        return sfswJgDmDz;
    }

    public void setSwryDmDz(String swryDmDz) {
        this.swryDmDz = swryDmDz;
    }

    public void setSfswJgDmDz(String sfswJgDmDz) {
        this.sfswJgDmDz = sfswJgDmDz;
    }

    public String getSfJgjcDm() {
        return sfJgjcDm;
    }

    public void setSfJgjcDm(String sfJgjcDm) {
        this.sfJgjcDm = sfJgjcDm;
    }

    public String getJgfwdm() { return jgfwdm; }

    public void setJgfwdm(String jgfwdm) { this.jgfwdm = jgfwdm; }

}
